package com.zmn.plat.common.dto.distribute;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：派单参数查询对象
 *
 * @author xujie
 * @since 2021/06/03 15:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DistributeArgsDIO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "平台ID不能为空")
    @ApiModelProperty(value = "平台ID", required = true)
    private Integer plat;

    @NotNull(message = "公司ID不能为空")
    @ApiModelProperty(value = "公司ID", required = true)
    private Integer companyId;

    @NotNull(message = "城市ID不能为空")
    @ApiModelProperty(value = "城市ID", required = true)
    private Integer cityId;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty(value = "业务类型", required = true)
    private Integer bizType;

    @NotNull(message = "工程师派单类型不能为空")
    @ApiModelProperty(value = "工程师派单类型：1直营，2非直营", required = true)
    private Integer agent;
}
